package com.zhang.hadoop.flink.test10;

/**
 * @author: zhang yufei
 * @createTime:2022/11/12 11:52
 * @description:
 */
public class LoginEvent {

    public String userId;

    public String ipAddress;

    public String eventType;

    public Long timestamp;

    public LoginEvent() {
    }

    public LoginEvent(String userId, String ipAddress, String eventType, Long timestamp) {
        this.userId = userId;
        this.ipAddress = ipAddress;
        this.eventType = eventType;
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "LoginEvent{" +
                "userId='" + userId + '\'' +
                ", ipAddress='" + ipAddress + '\'' +
                ", eventType='" + eventType + '\'' +
                ", timestamp='" + timestamp + '\'' +
                '}';
    }
}
